import axios from "axios";
import service from "..";
export function getBanner(){
    return service({
        method:'get',
        url:'/banner?type=2',

    })
}
export function getMusicList(){
    return service({
        method:'get',
        url:'/personalized?limit=10'
    })
}
export function getPhoneLogin(data){
    return service({
        method:'get',
        url:`/login/cellphone?phone=${data.phone}&password=${data.password}`
    })
}

export function getLoginUser(data){
    return service({
        method:'get',
        url:`/user/detail?uid=${data}`
    })
}